a = "my name is cendy-LL"
# print(a[0])
# print(a[3])
# print(a[0:2])
# print(a[0:4])
# print(a[0:])
# print(a[0])
#
# print("my name is %s and my cat name is %s" %("cendy-LL","helloketty"))
#
# print("my name is","cendy-LL","and my cat name is","helloketty")
#
# tomcat = "my name is %s and my cat name is %s" %("cendy-LL","helloketty")
#
# print(tomcat)

# %c    字符
# %s    字符串
# %d    整数
# %f    浮点数

print("my name is %s and my age is %d" %("cendy-LL",25))